package com.eastfair.auth.service;

import com.eastfair.auth.entity.Organization;
import com.eastfair.core.base.R;

import java.util.List;

/**
 * <p>
 * 观众组织操作业务接口
 *
 * </p>
 *
 * @author ligang
 * @date 2021-07-16
 */
public interface AudienceOrganizationService {


    /**
     * 创建项目下的观众分类
     * @param orgId  项目组织id
     * @param projectId  项目id
     * @return
     */
    R<Organization> createAudienceClassify(Long orgId,Long projectId);

    /**
     * 添加用户到观众分类
     * @param projectId
     * @param userIds
     * @return
     */
    R addUserOfAudience(Long projectId, List<Long> userIds);
}
